Thermal Treatment of Flash Memories

ABSTRACT

A memory controller can provide current to a heater in a flash memory to reduce cycling induced errors. If necessary, after heating, the memory may be refreshed. In non-battery powered systems, data may be removed from the memory prior to heating and restored to the memory after heating.

BACKGROUND

This relates generally to flash memories and, particularly, to techniques for thermally treating a flash memory to improve its cycling lifetime.

When flash memories are repeatedly programmed and erased, they may have a tendency to lose data. Cycling of the memory induces the formation of charge traps in an oxide below the floating gate. These charge traps trap electrons during programming and erase operations. These trapped electrons can be released during the storage time of the device. The more the memory is used to recycle, the more trapped electrons may exist and the more prone the device may be to cycling induced failures.

More particularly, after cycling, electrons previously trapped in the tunnel oxide may be released with appropriate activation energy. This mechanism is commonly known as detrapping. The detrapping originates a threshold voltage negative shift so that cells in the so-called zero state move to the read level and can fail. The shift depends on the amount of electrons trapped during cycling, so the higher the quantity of trapped electrons, the higher the threshold shift. The higher the shift, the higher the probability that the stored information will be lost.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic depiction of a memory system in accordance with one embodiment;

FIG. 2 is a flow chart for an embodiment that is battery powered;

FIG. 3 is a flow chart for an embodiment that is not battery powered;

FIG. 4 is a perspective view of a thermal model of a mobile phone case with a memory package inside in accordance with one embodiment;

FIG. 5 is a plot of temperature versus time for a simulation without temperature regulator;

FIG. 6 is a graph of temperature versus time for the first 150 seconds of a transient analysis with temperature regulator;

FIG. 7 is a graph of temperature versus time for the first 1500 seconds of the transient analysis with temperature regulator; and

FIG. 8 is a graph of current versus temperature with temperature regulator showing the current supplied as a function of temperature in accordance with one embodiment.

DETAILED DESCRIPTION

The useful life of a flash memory may be increased by providing a heater within the memory package to provide controlled application of heat under particular conditions to detrap trapped electrons from the tunnel oxide and then to reduce the total charge trapped due to memory cycling.

In some embodiments, the detrapping may be initiated during time periods when the memory is coupled to a wired power supply, as opposed to being battery power supplied. In some embodiments, the memory may not be used during such heating cycles.

Thus, referring to FIG. 1, the flash memory 20 may include an internal heater 22, such as a Joule heater. The heater may receive current from a memory controller 16 which, in one embodiment, may be coupled directly to a power supply (not shown). When external power is supplied, a flag may be set, as indicated at 12, allowing the memory controller to use its temperature controller 18 to generate current I to heat the memory 20 using the heater 22. Normally the memory controller supplies information and receives data from the memory over a system bus 26 and provides the data to external components over a system bus 14.

The heater 22 may be a discrete device within the package of the memory 20 in one embodiment. In another embodiment, the heater may be integrated in the same die with the memory 20. The controller may be integrated in the same chip as the memory array or integrated separately. The controller and the memory may be in the same or separate packages.

Generally, the applied temperature may be sensed by an in-package temperature probe 24 which supplies information over the connection 28 to the temperature controller 18 which, in turn, regulates the flow of current to the heater 22 to achieve a desired temperature.

In some cases, excessive temperatures may be avoided because they may actually cause deleterious effects. In some embodiments, the heater may generate a temperature of from 120° to 150° C. for a few hours within the memory 20 package.

The memory controller 16 may be programmed to deactivate the memory 20 and to prevent user access upon detection of a temperature treatment initiating triggering event. The triggering event may be an indication that the system is coupled to external power supply and is currently inactive. It may also be triggered by a user command. In still another embodiment, it may be triggered at periodic time intervals.

In response to the event, the memory controller operates its temperature controller 18 to heat the memory 20 using the heater 22 until a desired temperature range sensed by the temperature sensor 24 is reached. This temperature is maintained for a desired amount of time, normally, on the order of a few hours. After this has been completed, the memory cells are read and data refreshed as needed to overcome any effects of data loss. The operation may terminate when the process is finished after a predefined time when any adjustments have been made or upon user request. In such case, a table with the status of the memory blocks that were processed can be stored in a dedicated area of the memory.

The heating operations may be done on specific marked blocks within a multi-block memory. In one embodiment, the blocks may be tracked based on age of the blocks since the last thermal treatment. Alternatively, the entire memory may be treated at one time.

In wireless battery based systems, the thermal treatment may implemented during battery charging. Alternatively, the heating may done in system defined time slots, at particular times of day, or when memory accessing operations reach a particularly low level. In some cases, other memory may be used in place of the memory being thermally treated. For example, some data may be moved from one memory to be treated to another memory not yet subject to such treatment. The user may then be blocked from accessing the heated memory during the treatment period.

Thus, referring to FIG. 2, in a device which is battery powered or wireless, at block 30 it is determined when a power supply is provided to the system. When the power supply is provided, the bake may be initiated, as indicated at block 32, and the heating is maintained until further notice.

Next, the data that is stored in the memory being treated is read (block 34) after a fixed amount of treatment time with a dedicated reference. If the cells' threshold voltage is too far from a default value, a refresh operation is implemented, as indicated in diamond 36. After this is completed, the device exits from the heating mode and returns to a user mode, as indicated in block 38. If data rewriting is determined to be necessary in diamond 36, then the data may be refreshed, as indicated at block 40, by rewriting the data to a default threshold voltage value. A check at diamond 42 determines if the treatment time window is finished or if a user interrupt has been received. If either of these cases occurs, the system may return to the user mode. Otherwise, the bake continues by returning to block 32.

Referring next to FIG. 3, a sequence for implementing a heating cycle in a flash memory which is not battery powered is illustrated in accordance with one embodiment. At block 44, the operation may start as a result of an operating system routine or a user request. Then, in block 46, the data that is currently stored in the memory to be processed may be moved to another location to preserve the data and to make the data accessible during the memory treatment. For example, the data may be copied to another memory device that will not be treated. Then, in block 48, the memory region or memory to be thermally treated is locked to prevent its use. Then it may be erased (after the bake treatment) and the start of the bake process at a higher temperature (that does not damage the memory) than in the embodiment shown in FIG. 2 may be used. In some embodiments, it is advantageous to thermally treat the memory while it is programmed. Then, if needed, in block 50, the previously stored data that was transferred to another memory pending treatment is restored to the treated memory module.

In some embodiments, the sequences of FIGS. 2 and 3 may be implemented in hardware, software, firmware, or any combination thereof. They may be implemented on the memory 20, but, generally, would be more advantageously implemented on the memory controller 16. In software embodiments, the sequences may be implemented by a sequence of instructions stored on a non-transitory computer readable medium, such as a semiconductor, optical, or magnetic memory.

To estimate the current magnitude and time required to warm up the memory die, a three dimension numerical thermal model of a memory in a mobile phone application was created, as illustrated in FIG. 4. The model represents a mobile phone case with a memory situated on a printed circuit board. The memory block may be situated near to the phone case borders. Better thermal transfer from the memory block means that higher heating current is required.

To estimate the maximum heating current that can be required, the memory block was placed in the lower left part of the phone case, close to its border. The memory package, which may be a ball grid array package, was modeled as two isotropic blocks. Other hypothetical electronic components were modeled by a non-conducting hollow block that has been situated on a printed circuit board. The gravity vector is directed along the z axis and has a reversed sign. The thermal flow through the lateral walls is neglected and adiabatic boundary conditions were assigned to these walls. The bottom and top walls' convection boundary conditions were assigned and applying a constant heat transfer coefficient (e.g. h=5 W/k*m²). The dimensions and thermal properties of the materials are as follows:

Package PCB Package Top Bottom Dimensions 90 × 40 × 1.6 12 × 12 × 0.5 12 × 12 × 0.6 [mm] Thermal K_(n) = 46 K_(in plane) = 0.6 3.47 0.17 conductivity [K/W] Volume [m³] 57.6 * 10⁻⁷ 0.72 * 10⁻⁷ 0.864 * 10⁻⁷ Density 2000 2010 2000 [kg/m³] Specific 1100 1100 1100 heat [J/kg K]

A heater was applied at the interface between the top and bottom package blocks. Since the heater is located in immediate proximity to the die, their temperatures can be considered equal.

In this simulation, the thermal power dissipation of 1.7 watts was applied to the heater. As shown in FIG. 5, a transient simulation for the first 150 seconds, the beginning of the transition temperature increases rapidly and then changes slowly. In the fast part of the transition, the die and case temperatures increase from ambient temperature of 30° C. to 98.5° C. and 33.5° C., respectively.

To better understand the model structure and the origins of the two different slopes of increasing temperature, a lumped thermal model was created, as shown in FIG. 4. For this purpose, a three-dimensional numerical model was represented by an equivalent RC network with corresponding thermal parameters of thermal resistance and thermal capacitance. The convective exchange at the upper or lower case surfaces was modeled by two thermal resistances R_(th) 4 and R_(th) 5.

The definition of the thermal capacity is not a trivial problem due to the difficulty in estimating a volume of the heat flow passing through. However, knowing that the thermal capacity is directly proportional to volume, it can be noted that C_(th) 3 is much greater than C_(th) 1 or C_(th) 2. This means that in the beginning of the transition, the whole network will behave as if C_(th) 3 were a short circuit. Therefore, at the first part of the transition, the time constant is defined as C_(th) 1 and C_(th) 2 and has a small value. Then C_(th) 3 starts charging and the time constant becomes large.

The transient result of the lumped model simulation is shown in FIG. 5.

For a faster transition, the heating and cooling of the memory die may be performed in the first part of the transition when the time constant is small. Both lumped and numerical transition curves show that the fast transition occurs in the first 30 seconds after the heater was turned on. In this time interval, the die is heated to 98.5° C. using the 1.7 watt heater. When the die is required to heat up to a higher or lower temperature, the heat dissipated power can be increased or decreased, respectively.

When the stable temperature or a temperature that vibrates around an equilibrium point is required, current supply regulation can be implemented in one embodiment. The heater may be warmed up to 100° C. and the temperature may be kept with a precision of 5° C., for example. Thus, once the temperature of 105° C. is reached, the heater can be turned off until the temperature drops to 95° C., when it is turned on again until the temperature reaches 105° C. The transition characteristic of such a power management system is shown in FIGS. 6 and 7.

In FIG. 6, showing the first 150 seconds, the die temperature is kept up at about 105° C. In FIG. 7, the transient analysis for the first 1500 seconds is shown. The steady state regime is achieved in about twenty minutes. The plot shows the case temperature without and with a thermal plate, respectively, as well as the die temperature.

To reduce the temperature range and the frequency of switching, an alternate solution can be implemented. Instead of the switch that is turned on when the temperature reaches the low level and is turned off at the high level, the current is regulated by the temperature of the heater. At the beginning when the temperature is lower than the minimum value (T_(min)), the current supplied is the maximum available (I_(max)), as shown in FIG. 8. When the minimum temperature is achieved, the current decreases as a linear function of temperature until, eventually, a maximum value is reached and the current supplied is turned off.

Keeping the die temperature up to about 100° C., the steady state regime is reached in about twenty minutes and the more warmed bottom wall of the phone case assumes the temperature of 63.3° C. When demanded, the time of die heating is comparable with the steady state regime being reached and additional measures to decrease the case temperature may be used.

The case temperature can be decreased by introducing an additional thermal resistance between the printed circuit board and the bottom of a thermal case. Introduction of this resistance offers two advantages in some embodiments. Firstly, the case temperatures were considerably lower and, secondly, less electrical power is required for die warming and, thereby, lower current can be used to obtain the same temperature of the die. This resistance may be achieved as a plate with high thermal resistance placed between the board and the phone case. This plate may be placed and removed mechanically, for example, when a battery charger is connected to or disconnected from the phone.

The heater may be made as a resistance situated under the die. As another alternative, the resistance may use substrate copper trace elements. Currently technology techniques permit obtaining a 15 micron thick and 25 micron wide copper trace with 25 micron spaces between two spaces. The heat dissipation can be obtained in accordance with Joule's law as the square of the current through the resistance. For such a heater, with an area of 5×5 millimeter square, the resistance of 22.9 Ohms can be obtained. Applying a current of 0.2 amps to this resistance, the heat dissipation of 0.9 watts will be obtained. Any necessary current can be provided from the phone adapter during charging time. The higher dissipated power can be obtained using a higher current or a bigger heater area.

References throughout this specification to “one embodiment” or “an embodiment” mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one implementation encompassed within the present invention. Thus, appearances of the phrase “one embodiment” or “in an embodiment” are not necessarily referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be instituted in other suitable forms other than the particular embodiment illustrated and all such forms may be encompassed within the claims of the present application.

While the present invention has been described with respect to a limited number of embodiments, those skilled in the art will appreciate numerous modifications and variations therefrom. It is intended that the appended claims cover all such modifications and variations as fall within the true spirit and scope of this present invention. 

1. A method comprising: reducing cycling induced errors by heating a flash memory using a heater within a memory package.
 2. The method of claim 1 including periodically heating the flash memory.
 3. The method of claim 1 including preventing the use of the memory during heating.
 4. The method of claim 1 including transferring data stored on the memory to another memory during heat treatment.
 5. The method of claim 1 including heating the memory to a temperature of from about 120° to 150° C.
 6. The method of claim 1 including providing a heater within a memory package and a temperature controller in a memory controller coupled to the memory package and controlling the generation of heat by the heater from the temperature controller.
 7. The method of claim 1 including transferring data from the memory before heating.
 8. A non-transitory computer readable medium storing instructions executed by a processor to: detect a condition; in response to said detection, generating current in a heater within a flash memory package; and heating said memory to treat for cycling induced errors.
 9. The medium of claim 8 further storing instructions to determine when a power supply is plugged into a battery powered device including said memory.
 10. The medium of claim 8 further storing instructions to evaluate the stored data in the memory after completing the heat treatment.
 11. The medium of claim 8 further storing instructions to remove data stored in the memory to be treated prior to treatment and to restore the data to the memory after treatment.
 12. The medium of claim 8 further storing instructions to trigger the heat treatment in response to an external event in the form of a connection to an external power supply, a user command, or the expiration of a time period.
 13. A memory comprising: an integrated circuit; a package surrounding said integrated circuit; and a heater within said package.
 14. The memory of claim 13 wherein said memory is a flash memory.
 15. The memory of claim 13, said heater to heat said memory to a temperature of from about 120° to 150° C.
 16. The memory of claim 13, said heater to heat said memory for a sufficient time and temperature to treat cycling induced errors.
 17. An apparatus comprising: a memory controller; and a temperature controller coupled to said memory controller to generate signals to cause heating of a memory coupled to said memory controller.
 18. The apparatus of claim 17, said memory controller to sense a condition and, in response to the sensing of said condition, to trigger heating of said memory.
 19. The apparatus of claim 17 including a memory coupled to said memory controller, said memory including a heater.
 20. The apparatus of claim 19 wherein said memory is a flash memory.
 21. The apparatus of claim 17, said memory controller to sense when external power is supplied and, in response to detecting the supply of external power, to trigger heating of said memory.
 22. The apparatus of claim 17, said memory controller to move data from said memory before heating said memory.
 23. The apparatus of claim 22, said memory controller to restore the data to the memory after heating. 